package com.cskaoyan.mall.model.comment;

import java.sql.Timestamp;

/**
 * @author: jyf2000jyf
 */
public class Comment {
    private Integer id;
    private Integer userId;
    private String username;
    private Integer goodsId;
    private String specName;
    private Double score;
    private String comment;
    private Timestamp createTime;

    public Comment() {
    }

    public Comment(Integer id, Integer userId, String username, Integer goodsId, String specName, Double score, String comment, Timestamp createTime) {
        this.id = id;
        this.userId = userId;
        this.username = username;
        this.goodsId = goodsId;
        this.specName = specName;
        this.score = score;
        this.comment = comment;
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
}
